package com.ruoyi.web.controller.material.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(name = "物品类型")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class YlProduct extends BaseEntity {

    private static final long serialVersionUID = 1L;

    //主键ID
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 物品名称
     */
    @Excel(name = "物品名称")
    @ApiModelProperty("物品名称")
    private String productName;

    /**
     * 物品简称
     */
    @Excel(name = "物品简称")
    @ApiModelProperty("物品简称")
    private String shortName;

    /**
     * 物品分类主键
     */
    @Excel(name = "物品分类主键")
    @ApiModelProperty("物品分类主键")
    private Long productCategoryId;

    /**
     * 收费项目
     */
    @Excel(name = "收费项目")
    @ApiModelProperty("收费项目")
    private Long chargeItemId;

    /**
     * 供应商
     */
    @Excel(name = "供应商")
    @ApiModelProperty("供应商")
    private Long supplierId;

    /**
     * 规格
     */
    @Excel(name = "规格")
    @ApiModelProperty("规格")
    private String specification;

    /**
     * 单位
     */
    @Excel(name = "单位")
    @ApiModelProperty("单位")
    private String unit;

    /**
     * 启用状态
     */
    @Excel(name = "启用状态")
    @ApiModelProperty("启用状态")
    private String useStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String remark;


}
